//
//  Common.swift
//  weiBoSwift
//
//  Created by 刘胤辰 on 16/7/20.
//  Copyright © 2016年 it.com. All rights reserved.
//

import UIKit

//返回颜色
func RGB(red: CGFloat, green: CGFloat, blue: CGFloat, alph:CGFloat)->UIColor{
    
    return UIColor(red: red/255, green: green/255, blue: blue/255, alpha:alph)
}
// 新浪微博相关信息
let APPKEY = "476690590"
let APPSECRET = "738c492136d4cdf3833cddd0a2f69de5"
// 回调页
let APPREDIRECT_URI = "http://www.baidu.com"

//用户名和密码
let wbName = "rangyuan05788697@163.com"
let wbPasswd = "bbb333"

// 屏幕的宽和高
let SCREENW = UIScreen.mainScreen().bounds.width
let SCREENH = UIScreen.mainScreen().bounds.height